
import Head from 'next/head'

<Head>
  <script>
    {
      `(function() {
         var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?e60fb290e204e04c5cb6f79b0ac1e697";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
       })();`
    }
  </script>
</Head>

![LangChain](https://pica.zhimg.com/50/v2-56e8bbb52aa271012541c1fe1ceb11a2_r.gif)





Jina[#](#jina "跳到此标题的永久链接")
===========================

本页面介绍如何在LangChain中使用Jina生态系统。分为两部分:安装和设置,以及特定Jina包装器的参考。

安装和设置[#](#installation-and-setup "跳到此标题的永久链接")
----------------------------------------------

* 使用`pip install jina`安装Python SDK

* 从[这里](https://cloud.jina.ai/settings/tokens)获取Jina AI Cloud授权令牌，并将其设置为环境变量(`JINA_AUTH_TOKEN`)

包装器[#](#wrappers "跳到此标题的永久链接")
------------------------------

### 嵌入[#](#embeddings "跳到此标题的永久链接")

There exists a Jina Embeddings wrapper, which you can access with

```python
from langchain.embeddings import JinaEmbeddings

```

For a more detailed walkthrough of this, see [this notebook](../modules/model_io/text_embedding/examples/jina)

